package com.coolingme.general.transparent;

/**
 * 叶子节点
 *
 * @author wangyue
 * @date 2020-09-18 23:44
 */
public class Leaf extends Component {

    public Leaf(String name) {
        super(name);
    }

    @Override
    public String operation() {
        return name;
    }
}
